package com.eaia.service.impl;

import com.eaia.mapper.TbPermissionMapper;
import com.eaia.model.TbPermission;
import com.eaia.service.TbPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: hezhiqin
 * @time: 2020/6/2 20:02
 */
@Service
public class TbPermissionServiceImpl  implements TbPermissionService {

    @Autowired
    TbPermissionMapper tbPermissionMapper;

    @Override
    public List<TbPermission> selectByUserId(Long id) {
        return tbPermissionMapper.selectByUserId(id);
    }
}
